package com.bosssoft.trainee.nontax.entity.po;

import lombok.*;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.io.Serializable;

@Component
@Builder
@Setter
@Getter
@ToString
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(of={"userId"})
public class User implements Serializable {
    private static final long serialVersionUID = 859592577062757162L;
    /**
     * 用户组件
     */
    private Integer userId;
    
    private String name;
    
    private String password;
    
    private String tel;
    
    private String idNo;
    
    private String deptName;
    
    private String address;
    
    private String email;
    
    private Date birth;
    /**
     * 0:男 1:女
     */
    private Integer sex;
    
    private String qq;
    
    private String description;

    private Date createTime;

    private Date updateTime;

    private Integer isValid;
}

